package com.bristua.mall.common.dao;

import com.bristua.mall.common.model.TCode;
import com.bristua.mall.common.model.condition.TCodeExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TCodeMapper {
    int countByExample(TCodeExample example);

    int deleteByExample(TCodeExample example);

    int deleteByPrimaryKey(String codeId);

    int insert(TCode record);

    int insertSelective(TCode record);

    List<TCode> selectByExample(TCodeExample example);

    TCode selectByPrimaryKey(String codeId);

    int updateByExampleSelective(@Param("record") TCode record, @Param("example") TCodeExample example);

    int updateByExample(@Param("record") TCode record, @Param("example") TCodeExample example);

    int updateByPrimaryKeySelective(TCode record);

    int updateByPrimaryKey(TCode record);
}